package com.smart.common.constant;

public interface GlobalConstants {

    /**
     * 告警电量
     */
    Integer BATTERY = 30;


    /**
     * 通用成功标识
     */
    public static final String SUCCESS = "0";

    /**
     * 通用失败标识
     */
    public static final String FAIL = "1";

    /**
     * 补卡:否
     */
    String IS_REPAIR_FALSE = "0";

    /**
     * 补卡:是
     */
    String IS_REPAIR_TRUE = "1";
    /**
     * 考勤:正常
     */
    String ATTENDANCE_NORMAL = "0";

    /**
     * 考勤:迟到
     */
    String ATTENDANCE_LATE = "1";

    /**
     * 考勤:旷工
     */
    String ATTENDANCE_ABSENTEEISM = "2";

    /**
     * 考勤:请假
     */
    String ATTENDANCE_LEAVE = "3";

    /**
     * 考勤:异常
     */
    String ATTENDANCE_EXCEPTION = "4";

    /**
     * 考勤:休息
     */
    String ATTENDANCE_REST = "5";

    /**
     * 定时器名称
     */
    String JOB = "Smart Job";

    /**
     * 勾选
     */
    Integer YES_CHECKED = 0;
    /**
     * 未勾选
     */
    Integer NO_CHECKED = 1;

    /**
     * 是否删除：已删除
     */
    Integer DEL_FLAG_YES = 1;
    /**
     * 是否删除：未删除
     */
    Integer DEL_FLAG_NO = 0;

    /**
     * 在线
     */
    Integer ONLINE = 0;
    /**
     * 离线
     */
    Integer OFFLINE = 1;

    /**
     * 顶级节点ID
     */
    Long PARENT_ID = 0L;

    /**
     * 车辆全局GPS校准阈值
     */
    Integer CAR_LOCATION_THRESHOLD_VALUE = 200;
    /**
     * 员工全局GPS校准阈值
     */
    Integer EMPLOYEE_LOCATION_THRESHOLD_VALUE = 50;

    /**
     * 环卫桶
     */
    Integer BUCKET_TYPE_BUCKET_BUCKET = 0;

    /**
     * 环卫箱
     */
    Integer BUCKET_TYPE_BUCKET_BOX = 1;

    /**
     * 环卫站
     */
    final Integer BUCKET_TYPE_BUCKET_PLATFORM = 2;





    String STDOUT = "STDOUT";
    String STDERR = "STDERR";

    /**
     * 垃圾箱长度
     */
    double LENGTH_BUCKET_CAPACITY = 4000.00;

// 0人员1车辆2桶3箱4站
    //人员
    int PERSON = 0;

    //车辆
    int VEHICLE = 1;

    //垃圾桶
    int TRASH_CAN = 2;

    //语音
    Integer CHAT = 1;

    //文字
    Integer TEXT = 0;

    //SOS告警
    Integer SOS_ALARM = 2;

    //心率超标
    Integer HEART_RATE_ALARM = 5;

    //血压超标
    Integer BLOOD_PRESSURE_ALARM = 6;

    //血氧超标
    Integer BLOOD_OXYGEN_ALARM = 12;

    //体温超标
    Integer TEMPERATURE_ALARM = 25;
}
